package com.simple.create.factory.sample5;

import com.simple.LogUtil;

/**
 * 抽象工厂模式(Abstract Factory)
 *
 * @author simple
 * @version 1.0
 * @date 2018/12/5 09:25
 * @since 1.0
 */
public class Start {
    /**
     * @param args Command line argument
     */
    public static void main(String[] args) {
        CouponFactory factory = new AmountCouponFactory();
        LogUtil.info(factory.create());
        factory = new CountCouponFactory();
        LogUtil.info(factory.create());
    }
}
